package com.LachesismStorm.lachesism.member.service;

import com.LachesismStorm.lachesism.member.vo.UmsMember;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;

/**
 * 会员管理Service
 */
@Service
public interface UmsMemberService {

    /**
     * 获取用户信息
     */
    UserDetails loadUserByUsername(String username);
    /**
     * 注册
     *
     * @return
            */
    String register(UmsMember member);

    UmsMember getUserInfo();


    String login(UmsMember member);

    void updateInfo(UmsMember member);
}





